package com.bean;

import java.util.Date;

/**
 * 答题
 *@author 郭权文
 *
 * 用户ID
 * 试卷路径
 * 试卷名称
 * 大于0为正，小于1为负
 * 试卷开始时间
 * 试卷结束时间
 */
public class Bhcase {
    private int uID;
    private String cUrl;
    private String cName;
    private boolean cFlag;
    private Date cBegin;
    private Date cEnd;

    public  Bhcase(){

    }
    public Bhcase(int uID, String cUrl, String cName, boolean cFlag, Date cBegin, Date cEnd) {
        this.uID = uID;
        this.cUrl = cUrl;
        this.cName = cName;
        this.cFlag = cFlag;
        this.cBegin = cBegin;
        this.cEnd = cEnd;
    }

    public void setuID(int uID) {
        this.uID = uID;
    }

    public void setcUrl(String cUrl) {
        this.cUrl = cUrl;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public void setcFlag(boolean cFlag) {
        this.cFlag = cFlag;
    }

    public void setcBegin(Date cBegin) {
        this.cBegin = cBegin;
    }

    public void setcEnd(Date cEnd) {
        this.cEnd = cEnd;
    }

    public int getuID() {
        return uID;
    }

    public String getcUrl() {
        return cUrl;
    }

    public String getcName() {
        return cName;
    }

    public boolean getcFlag() {
        return cFlag;
    }


    public Date getcBegin() {
        return cBegin;
    }

    public Date getcEnd() {
        return cEnd;
    }

    @Override
    public String toString() {
        return "Bhcase{" +
                "uID=" + uID +
                ", cUrl='" + cUrl + '\'' +
                ", cName='" + cName + '\'' +
                ", cFlag='" + cFlag + '\'' +
                ", cBegin=" + cBegin +
                ", cEnd=" + cEnd +
                '}';
    }
}
